var installEvent = require('./base').installEvent;

var salesOffices = {};
installEvent(salesOffices);

salesOffices.listen('squareMeter88',fn1 = function (price) {
    console.log('价格='+price);
});

salesOffices.listen('squareMeter88',fn2 = function (price) {
    console.log('价格='+price);
});


salesOffices.listen('squareMeter100',fn3 = function (price) {
    console.log('价格='+price);
});

salesOffices.trigger('squareMeter88',20000);
salesOffices.trigger('squareMeter100',22000);

salesOffices.remove('squareMeter88',fn2);
salesOffices.trigger('squareMeter88',21000);
